
<form id="form_add">
<input type="hidden" name="rate" id="rate" value="" size="12">
<input type="hidden" name="rmb" id="rmb" value="" size="12">
<table>
	<tr>
		<td align="right">客户：</td>
		<td colspan="3"><input type="text" name="customer" id="customer"
				value="" size="20" title="{[$t.customer]}"> <a href="javascript:void(0)"
			id="customer_x" onclick="Common.toggle(this, '#label_linkman_a')(this)" class="ui-icon ui-icon-circle-triangle-w"
			style="display: inline-table"></a></td>
	</tr>
	
	<tr id="label_linkman_a">
		<td></td>
		<td colspan="3">{[include file="contact/customer/_linkman.tpl"]}</td>
	</tr>
	<tr>
		<td width="20%" align="right">开票日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
		<td width="20%" align="right">业务员：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="" size="12" title="{[$t.emp_|emp:'业务员']}"></td>
		
	</tr>
	<tr>
		<td align="right">开票公司：</td>
		<td colspan="3"><select name='tec'>
			{[html_options options=$tec_option selected=2]}
		</select></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="name" id="name" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">金额：</td>
		<td colspan="3"><input type="text" name="amount" id="amount" value="" size="12"> <select name='currency' id='currency'>
			{[html_options options=$currency_option selected=USD]}
		</select> <label id="label_amount"></label></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" cols="55"></textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/finance/invoice/add.js?r={[$smarty.now]}"></script>
